package com.fortune.dal.dao;

import com.fortune.dal.model.Account;

import java.util.List;

public interface AccountDAO {

    void insert(Account account) throws Exception;

    Long deleteById(Integer id) throws Exception;

    Long updateById(Account account) throws Exception;

    List<Account> queryByModel(Account account) throws Exception;

    Account queryById(Integer id) throws Exception;

}
